package com.fy.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 芣苡
 */
@FeignClient("cloud-payment")
public interface PaymentFeignService {
    @PostMapping(value = "/sms/sendCode")
    String sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
